export const typeOptions = [
    {
        value: "input",
        label: "文本输入框",
    },
    {
        value: "number",
        label: "数字输入框",
    },
    {
        value: "textarea",
        label: "文本域",
    },
    {
        value: "select",
        label: "下拉选择器",
    },
    {
        value: "checkbox",
        label: "多选框",
    },
    {
        value: "radio",
        label: "单选框",
    },
    {
        value: "switch",
        label: "switch开关",
        disabled: true,
    },
    {
        value: "date",
        label: "日期选择框",
    },
    {
        value: "time",
        label: "时间选择框",
    },
    {
        value: "slider",
        label: "滑动输入条",
        disabled: true,
    },

    {
        value: "uploadFile",
        label: "上传文件",
        disabled: true,
    },
    {
        value: "uploadImg",
        label: "上传图片",
        disabled: true,
    },
    {
        value: "cascader",
        label: "级联选择器",
        disabled: true,
    },
    {
        value: "treeSelect",
        label: "树选择器",
        disabled: true,
    },

    {
        value: "editor",
        label: "富文本",
        disabled: true,
    },
]


export const crudData = [
    // 列表
    {
        mark: 1,
        status: true,
        label: "列表",
        batchDelete: false,
        value: "table",
        export: false,
        fieldData: [],
    },
    // 查询表单
    {
        mark: 2,
        status: true,
        label: "查询表单",
        value: "search",
        fieldData: [],
    },
    // 新增对话框
    {
        mark: 3,
        status: true,
        label: "新增对话框",
        value: "create",
        fieldData: [],
    },
    //编辑对话框
    {
        mark: 4,
        status: true,
        label: "编辑对话框",
        value: "edit",
        fieldData: [],
    },
    //详情对话框
    {
        mark: 5,
        status: true,
        label: "详情对话框",
        value: "detail",
        fieldData: [],
    },
]